package TEST;


import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import Server.Game.Questions.Answer;

public class AnswerTest {
	Answer a;
	
	@Before
	public void setUp() throws Exception {
		a = new Answer("Vastus",true);
	}
	
	@Test
	public void AnswerInfoTest(){
		assertEquals("Vastus",a.getContent());
		assertEquals(true,a.isRight());
	}
	
	@Test
	public void setContentTest(){
		a.setContent("Muudetud_Vastus");
		assertEquals("Muudetud_Vastus",a.getContent());
	}

}
